/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pras.skripsi;

/**
 *
 * @author Pras
 */
public class Result {

    private static Object hasilAngka[][];
    private static Object hasilBentuk[][];
    private static Object[] kunci = new Object[6];

    public Result() {
        kunci[0] = "26";
        kunci[1] = "42";
        kunci[2] = "35";
        kunci[3] = "96";
        kunci[4] = ImageFactory.getOption()[0][0];
        kunci[5] = ImageFactory.getOption()[1][0];
    }

    public static void setHasilAngka(Object[][] hasilAngka) {
        Result.hasilAngka = hasilAngka;
    }

    public static Object[][] getHasilAngka() {
        return hasilAngka;
    }

    public static void setHasilBentuk(Object[][] hasilBentuk) {
        Result.hasilBentuk = hasilBentuk;
    }

    public static Object[][] getHasilBentuk() {
        return hasilBentuk;
    }

    public static Object[] getKunci() {
        return kunci;
    }

   
    
    public static Result getInstance() {
        return ResultHolder.INSTANCE;
    }

    private static class ResultHolder {

        private static final Result INSTANCE = new Result();
    }
}
